/**
 * output package name
 */
package com.kingdee.eas.custom.bscc.report.client;

import java.awt.event.*;
import org.apache.log4j.Logger;
import com.kingdee.bos.ui.face.CoreUIObject;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.eas.basedata.org.CompanyOrgUnitInfo;
import com.kingdee.eas.framework.*;
import com.kingdee.eas.framework.report.util.RptParams;
import com.kingdee.eas.util.SysUtil;
import com.kingdee.eas.util.client.MsgBox;

/**
 * output class name
 */
public class GcczFilterUI extends AbstractGcczFilterUI
{
    private static final Logger logger = CoreUIObject.getLogger(GcczFilterUI.class);
    
    /**
     * output class constructor
     */
    public GcczFilterUI() throws Exception
    {
    	setSize(400, 300);
    }

    /**
     * output storeFields method
     */
    public void storeFields()
    {
        super.storeFields();
    }

	public RptParams getCustomCondition() {
		RptParams pp = new RptParams();
		if(kDBizPromptBox1.getValue() != null) {
			CompanyOrgUnitInfo info = (CompanyOrgUnitInfo) kDBizPromptBox1.getValue();
			pp.setObject("company", info.getId().toString());
		}else{
			pp.setObject("company", null);
		}
		return pp;
	}

	public void onInit(RptParams arg0) throws Exception {
		
	}

	public void setCustomCondition(RptParams arg0) {
		
	}

}